﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Reports/BI/Dynamic/MasterPage.master" AutoEventWireup="true" CodeFile="CashAllShops_Month.aspx.cs" Inherits="Reports_BI_Dynamic_CashAllShops_Month" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
    * { font-family:arial; }
</style>
<link rel="Stylesheet" href="../../../Css/Table.css" />
<script src="http://www.google.com/jsapi"></script>
<script type="text/javascript"> 
 //<![CDATA[
    google.load('visualization', '1', { 'packages': ['motionchart'] });
    function OnLoad() {
        //drawVisualization();
    }
//]]>
</script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    
    <div style="position: absolute; top: -5px">
        <asp:HyperLink ID="HyperLink2" runat="server" 
            Target="_parent"
            NavigateUrl="http://sp.korablik.local/report/" 
            Font-Bold="False" Font-Size="X-Small" >
            Отчеты</asp:HyperLink>
                            
        &nbsp;&nbsp;

        <asp:HyperLink ID="HyperLink1" runat="server" 
            Target="_parent"
            NavigateUrl="~/Reports/BI/KPI/"
            Font-Bold="False" Font-Size="X-Small"
        >KPI`s</asp:HyperLink>
    </div>

    <table style='width: 100%;position: absolute; top: 14px;' class="tblReport" >
    <tr class="tblReport">

    <td width="266px" style="font-weight: bold; font-size: medium;" >
        &nbsp; BI - Ежедневная выручка.&nbsp;
    </td>
    <td class="tblReport" width="50px">
    Дата - 
    </td>
    <td width="270px" 
        align="left" valign="middle" style="background-color: #FFFFCC;" >

        <asp:DropDownList ID="oDate" runat="server" AutoPostBack="True"></asp:DropDownList>

<span style="color: #00CC00; font-size: larger;">
    &nbsp;&lt;
</span>
<span style="color: #00CC00; font-size: larger;">[</span>
<span style="color: #990000; font-size: larger; font-weight: 900;">
    Развернуто
</span>
<span style="color: #00CC00; font-size: larger;">]</span>

<span style="color: #990000; font-size: larger; font-weight: 900;">
<asp:HyperLink ID="HyperLink3" runat="server" 
            NavigateUrl="~/Reports/BI/Dynamic/CashAllShops_Month_Short.aspx">Кратко</asp:HyperLink>
</span>

<span style="color: #00CC00; font-size: larger;">
    &nbsp;&gt;
</span>
    </td>

    <td width="60px" align="right" valign="middle" style="background-color: #FFFFCC;" >
        &nbsp;
        <asp:Label ID="Label1" runat="server" Text="Куб : " Visible="True"></asp:Label>
    </td>

    <td align="left" width="120px" valign="middle" style="background-color: #FFFFCC;" >
        <asp:DropDownList ID="oCubeList" runat="server" AutoPostBack="True" Visible="True">
            <asp:ListItem Value="1">KPI</asp:ListItem>
            <asp:ListItem Value="2">Продажи</asp:ListItem>
        </asp:DropDownList>
    </td>

    <td align="right" valign="middle" style="background-color: #FFFFCC;" >
        &nbsp;<asp:Label ID="lblFormat" runat="server" Text="Формат чисел:" 
            Visible="False"></asp:Label>
    </td>
    <td align="left" valign="middle" style="background-color: #FFFFCC;" >
        <asp:DropDownList ID="oFormat" runat="server" AutoPostBack="True" 
            Visible="False">
            <asp:ListItem Value="1">xxxxxx</asp:ListItem>
            <asp:ListItem Value="2">xxx xxx</asp:ListItem>
            <asp:ListItem Value="3">xxx xxx,xx</asp:ListItem>
            <asp:ListItem Value="4">xxx xxx,xx р.</asp:ListItem>
        </asp:DropDownList>
    </td>
    <td class="tblReport">&nbsp;</td>
    </tr>
    </table>

    <asp:GridView ID="gv" runat="server" BackColor="White" BorderColor="#3366CC" 
        BorderStyle="None" BorderWidth="1px" CellPadding="4" 
        Font-Size="X-Small"
        Font-Names="Verdana"
        EnableModelValidation="True" onrowdatabound="gv_RowDataBound"
        style=";position: absolute; top: 40px;"
        >
        <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
        <HeaderStyle BackColor="#003366" Font-Bold="False" ForeColor="#FFFFFF" Font-Size="X-Small" Font-Names="Verdana" />
        <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
        <RowStyle BackColor="White" ForeColor="#000000" />
        <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
    </asp:GridView>

    <div id='content' align="center">
        <div id="The_Chart" align="center"></div>
    </div>
    <asp:Literal ID="oBody" runat="server"></asp:Literal>
    <asp:Literal ID="oErr" runat="server"></asp:Literal>

<script type="text/javascript"> 
//<![CDATA[
    google.setOnLoadCallback(OnLoad);
//]]>
</script>
</asp:Content>

